import java.nio.channels.ScatteringByteChannel;
import java.util.Scanner;

public class Shiyan1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入三个数");
        int a= scanner.nextInt();
        int b= scanner.nextInt();
        int c=scanner.nextInt();
        if(a+b>c ||a+c>b ||b+c>a){
            System.out.println("可以构成三角形");
            System.out.println("a = " + a);
            System.out.println("b = " + b);
            System.out.println("c = " + c);
        }throw new IllegalArgumentException("不能构成三角形");



    }
}
